﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Extensil.Common
{
    public class ComboPropertyParam
    {
        public string Key
        {
            get;
            set;
        }
        public string Value
        {
            get;
            set;
        }
        public int Order
        {
            get;
            set;
        }
        public bool Visible
        {
            get;
            set;
        }
        public bool AutoStart
        {
            get;
            set;
        }
        public string HotKey
        {
            get;
            set;
        }
        public ComboPropertyParam(string key, string value)
            : this(key, value, -1)
        {
        }
        public ComboPropertyParam(string key, string value, int order)
            :this(key, value, order, true, false)
        {
        }
        public ComboPropertyParam(string key, string value, int order, bool visible, bool autostart)
            : this(key, value, order, visible, autostart, "")
        {
        }
        public ComboPropertyParam(string key, string value, int order, bool visible, bool autostart, string hotKey)
        {
            Key = key;
            Value = value;
            Order = order;
            Visible = visible;
            AutoStart = autostart;
            HotKey = hotKey;
        }

        public ComboPropertyParam Copy
        {
            get
            {
                return new ComboPropertyParam(Key, Value, Order, Visible, AutoStart);
            }
        }
    }
}
